Bookly\Lib\Utils\DateTime A

Total Complexity 69
Dependencies 4
Dependents 54
Total lines 678
Lines of code 322
Logical lines of code 152
Comment lines 145
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
getTimeZoneOptions()
A
36 7 93
secondsToInterval()
A
47 8 34
formatDateFor()
S
57 7 15
convertFormat()
S
55 6 20
getDatePartsOrder()
S
55 6 19
applyStaffTimeZone()
S
61 5 11
timeToSeconds()
S
57 4 17
datePickerOptions()
S
53 3 22
buildTimeString()
S
61 3 11
applyTimeZone()
S
64 3 9
validateDate()
S
67 3 7
dateRangeOptions()
S
52 1 23
formatOffset()
S
66 2 8
timeZoneOffset()
S
65 2 8
formatTime()
S
76 2 3
formatDate()
S
76 2 3
convertTimeZone()
S
70 1 6
UTCToWPTimeZone()
S
77 1 3
applyTimeZoneOffset()
S
73 1 4
formatInterval()
S
78 1 3
formatDateTime()
S
78 1 3